//
//  ModalViewController.h
//  MapApp
//
//  Created by Student on 3/10/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MapAppBuilding.h"


@protocol ModalDelegate;

@interface MapAppModalViewController_iPhone : UITableViewController { 
	NSMutableArray *buildingList;
	id <ModalDelegate> delegate;
}

@property (nonatomic, retain) NSMutableArray* buildingList;
@property (nonatomic, assign) id <ModalDelegate> delegate;

- (IBAction) cancel:(id)sender;

@end


@protocol ModalDelegate

- (void)mapAppModalViewController_iPhone:(MapAppModalViewController_iPhone *)controller didChooseBuilding:(MapAppBuilding *)aBuilding;

@end